package com.qczl.pme.controller.phone;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.qczl.core.controller.BaseController;
import com.qczl.model.Json;

/**
 * 会场控制器
 * @author SongR
 *
 */
@Controller
@RequestMapping(value="/phone/mettingroom")
public class PhoneMettingRoomController extends BaseController{
	Logger log = Logger.getLogger(this.getClass());
	
	
	/**
	 * 获取县级会场
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/county/v1",method={RequestMethod.GET,RequestMethod.POST})
	public Json getCountyV1(String phone,int start,int size){
		Json j = new Json();
		// TODO 获取县级会场
		return j;
	}
	
	/**
	 * 获取村级会场
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/village/v1",method={RequestMethod.GET,RequestMethod.POST})
	public Json getVillageV1(String phone,int townid,int start,int size){
		Json j = new Json();
		// TODO 获取村级会场
		return j;
	}
	
	
	/**
	 * 获取直属部门会场
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/branch/v1",method={RequestMethod.GET,RequestMethod.POST})
	public Json getBranchV1(String phone){
		Json j = new Json();
		// TODO	 获取村级会场	
		return j;
	}
	
	
}
